<div class="ratings view">
<h2><?php  echo __('Rating'); ?></h2>
	<dl>
		<dt><?php echo __('Id'); ?></dt>
		<dd>
			<?php echo h($rating['Rating']['id']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Name'); ?></dt>
		<dd>
			<?php echo h($rating['Rating']['name']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Created'); ?></dt>
		<dd>
			<?php echo h($rating['Rating']['created']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Modified'); ?></dt>
		<dd>
			<?php echo h($rating['Rating']['modified']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Status'); ?></dt>
		<dd>
			<?php echo h($rating['Rating']['status']); ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<h3><?php echo __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Edit Rating'), array('action' => 'edit', $rating['Rating']['id'])); ?> </li>
		<li><?php echo $this->Form->postLink(__('Delete Rating'), array('action' => 'delete', $rating['Rating']['id']), null, __('Are you sure you want to delete # %s?', $rating['Rating']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('List Ratings'), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Rating'), array('action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Seasons'), array('controller' => 'seasons', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Season'), array('controller' => 'seasons', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Volumes'), array('controller' => 'volumes', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Volume'), array('controller' => 'volumes', 'action' => 'add')); ?> </li>
	</ul>
</div>
<div class="related">
	<h3><?php echo __('Related Seasons'); ?></h3>
	<?php if (!empty($rating['Season'])): ?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php echo __('Id'); ?></th>
		<th><?php echo __('Anime Id'); ?></th>
		<th><?php echo __('Situation Id'); ?></th>
		<th><?php echo __('Rating Id'); ?></th>
		<th><?php echo __('Name'); ?></th>
		<th><?php echo __('Release Year'); ?></th>
		<th><?php echo __('Release Date'); ?></th>
		<th><?php echo __('Dow Episodes'); ?></th>
		<th><?php echo __('Full Episodes'); ?></th>
		<th><?php echo __('Url'); ?></th>
		<th><?php echo __('Created'); ?></th>
		<th><?php echo __('Modified'); ?></th>
		<th><?php echo __('Status'); ?></th>
		<th class="actions"><?php echo __('Actions'); ?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($rating['Season'] as $season): ?>
		<tr>
			<td><?php echo $season['id']; ?></td>
			<td><?php echo $season['anime_id']; ?></td>
			<td><?php echo $season['situation_id']; ?></td>
			<td><?php echo $season['rating_id']; ?></td>
			<td><?php echo $season['name']; ?></td>
			<td><?php echo $season['release_year']; ?></td>
			<td><?php echo $season['release_date']; ?></td>
			<td><?php echo $season['dow_episodes']; ?></td>
			<td><?php echo $season['full_episodes']; ?></td>
			<td><?php echo $season['url']; ?></td>
			<td><?php echo $season['created']; ?></td>
			<td><?php echo $season['modified']; ?></td>
			<td><?php echo $season['status']; ?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View'), array('controller' => 'seasons', 'action' => 'view', $season['id'])); ?>
				<?php echo $this->Html->link(__('Edit'), array('controller' => 'seasons', 'action' => 'edit', $season['id'])); ?>
				<?php echo $this->Form->postLink(__('Delete'), array('controller' => 'seasons', 'action' => 'delete', $season['id']), null, __('Are you sure you want to delete # %s?', $season['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Season'), array('controller' => 'seasons', 'action' => 'add')); ?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php echo __('Related Volumes'); ?></h3>
	<?php if (!empty($rating['Volume'])): ?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php echo __('Id'); ?></th>
		<th><?php echo __('Manga Id'); ?></th>
		<th><?php echo __('Situation Id'); ?></th>
		<th><?php echo __('Rating Id'); ?></th>
		<th><?php echo __('Name'); ?></th>
		<th><?php echo __('Dow Chapter'); ?></th>
		<th><?php echo __('Full Chapter'); ?></th>
		<th><?php echo __('Url'); ?></th>
		<th><?php echo __('Created'); ?></th>
		<th><?php echo __('Modified'); ?></th>
		<th><?php echo __('Status'); ?></th>
		<th class="actions"><?php echo __('Actions'); ?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($rating['Volume'] as $volume): ?>
		<tr>
			<td><?php echo $volume['id']; ?></td>
			<td><?php echo $volume['manga_id']; ?></td>
			<td><?php echo $volume['situation_id']; ?></td>
			<td><?php echo $volume['rating_id']; ?></td>
			<td><?php echo $volume['name']; ?></td>
			<td><?php echo $volume['dow_chapter']; ?></td>
			<td><?php echo $volume['full_chapter']; ?></td>
			<td><?php echo $volume['url']; ?></td>
			<td><?php echo $volume['created']; ?></td>
			<td><?php echo $volume['modified']; ?></td>
			<td><?php echo $volume['status']; ?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View'), array('controller' => 'volumes', 'action' => 'view', $volume['id'])); ?>
				<?php echo $this->Html->link(__('Edit'), array('controller' => 'volumes', 'action' => 'edit', $volume['id'])); ?>
				<?php echo $this->Form->postLink(__('Delete'), array('controller' => 'volumes', 'action' => 'delete', $volume['id']), null, __('Are you sure you want to delete # %s?', $volume['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Volume'), array('controller' => 'volumes', 'action' => 'add')); ?> </li>
		</ul>
	</div>
</div>
